const http = require('../utils/http.js');

// 获取皮肤管理师列表
const getDoctorList = (name) => {
    return http.request('GET', `/Doctor/allEnable?name=${name}`)
}

// 获取皮肤管理师详情
const getDoctorDetail = (id) => {
    return http.request('GET', `/Doctor/${id}`)
}

module.exports = {
    getDoctorList,
    getDoctorDetail
}